#!/usr/bin/env python
import rospy
from std_msgs.msg import String
from std_msgs.msg import Bool

import actionlib
from actionlib_msgs.msg import GoalStatus
from ensenso_camera_msgs.msg import RequestDataAction, RequestDataGoal



def callback(data):
    rospy.loginfo(rospy.get_caller_id() + "I heard %s", data.data)
    
def hiropEnsensoBridge():


    rospy.init_node('ensenso_trriger_bridge', anonymous=True)

    rospy.Subscriber("ensenso_trriger", Bool, callback)
    print("start hiropEnsensoBridge ...")
    # spin() simply keeps python from exiting until this node is stopped
    rospy.spin()

if __name__ == '__main__':
    hiropEnsensoBridge()
